package cn.iocoder.yudao.module.of.dal.mysql.taskhandler;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.of.dal.dataobject.taskhandler.TaskHandlerDO;
import org.apache.ibatis.annotations.Mapper;
import cn.iocoder.yudao.module.of.controller.admin.taskhandler.vo.*;

/**
 * 任务办理人员 Mapper
 *
 * @author 超级管理员
 */
@Mapper
public interface TaskHandlerMapper extends BaseMapperX<TaskHandlerDO> {

    /*default PageResult<TaskHandlerDO> selectPage(TaskHandlerPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<TaskHandlerDO>()
                .eqIfPresent(TaskHandlerDO::getTaskId, reqVO.getTaskId())
                .eqIfPresent(TaskHandlerDO::getHandlerType, reqVO.getHandlerType())
                .eqIfPresent(TaskHandlerDO::getHandlerGroupId, reqVO.getHandlerGroupId())
                .eqIfPresent(TaskHandlerDO::getHandlerUserId, reqVO.getHandlerUserId())
                .betweenIfPresent(TaskHandlerDO::getCreateTime, reqVO.getCreateTime())
                .orderByDesc(TaskHandlerDO::getId));
    }*/

}